package com.bosssoft.boss_exam_db.service.busines;

import com.bosssoft.boss_exam_db.entity.Company;
import com.bosssoft.boss_exam_db.entity.Subject;
import com.bosssoft.boss_exam_db.service.base.BaseService;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface SubjectService extends BaseService<Subject> {
    PageInfo<Subject> queryByCondition(Company company, String name, Integer page, Integer limit, String sort, String order);

    List<Subject> queryByCompanyId(String id);
}
